home *** CD-ROM | disk | FTP | other *** search
/ PC Elektro 3 / PC-Elektro-3-cd1.bin / KBan 2.0 / KBANSRC.LZH / SRC / PROG / KBANDATA / FILE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-16  |  534 b   |  28 lines

  1. /*
  2.  * a header of the class FILE_VERSION
  3.  * Copyright (C) 1996 Kazutaka Hirata <khirata@jove.acs.unt.edu>
  4.  */
  5.  
  6. #ifndef _FILE_H_
  7. #define _FILE_H_
  8.  
  9. #include "../intstr.h"
  10.  
  11. class FILE_VERSION {
  12. public:
  13.   enum {
  14.     VERSION_170   ,
  15.     VERSION_200A8 ,
  16.     VERSION_200B0 ,
  17.     VERSION_200B18,
  18.     VERSION_UNKNOWN
  19.   };
  20. private:
  21.   static const INTSTR_ELEMENT version_str_table[];
  22. public:
  23.   uint        get_version_no(const char* str) const;
  24.   const char* get_version_str(uint ver) const;
  25. };
  26.  
  27. #endif /* _FILE_H_ */
  28.